package com.auto.api.core.service;

import com.auto.api.core.entity.BaseApiInfo;
import com.auto.api.core.entity.ApiInfo;
import java.util.List;

/**
 * @program:
 * @description:
 * @author: liangshf
 * @create: 2022-01-07
 */
public interface ApiInfoService {

    /**
     * 保存获取请求集合
     *
     * @param items List<ApiInfo>
     */
    void saveApiItem(List<ApiInfo> items);

    /**
     * 更加url获取请求api
     *
     * @param url String
     */
    BaseApiInfo getApiByUrl(String url);
}